home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
TCL1
/
GRAPH_FO
/
(GRAPH
/
GRAPH_HE
/
GRLIST.H
< prev
next >
Wrap
Text File
|
1991-02-15
|
931b
|
42 lines
/******************************************************************************
GrList.c
Graph methods in Object C.
SUPERCLASS = CList
Copyright ⌐ 1991 Maarten Meijer. All rights reserved.
CIS 100016,1764; FidoNet 2:512/114
*******************************************************************************/
#define _H_GrList
/* externs */
#include <CList.h>
#include "GrNode.h"
/* class definition */
struct GrList : CList {
void IGrList(void);
/* Drawing methods */
void _Draw(void);
void Draw(Rect *area);
/* GrList manipulation methods */
void AddNode(GrNode *which);
void RemoveNode(GrNode *which);
/* selection methods */
void Select(Rect *r);
void Deselect(void);
long CountSelected(void);
GrNode * GetSelected(void);
/* Updating methods */
void SpanningRect(GrNode *which, Rect *rect);
/* Location methods */
GrNode * FindNode(Point where);
GrNode * FindIncident(GrNode *which);
};